﻿using System;
using System.Collections.Generic;

namespace GpgCore.Products
{
    public partial class ShopScheme
    {
        public ProductType ProductType;
        public double MaxDailySales;
        public int WorkersPerLevel;
    }

    public partial class ShopScheme
    {
        public static Dictionary<ProductType, ShopScheme> Schemes;

        static ShopScheme()
        {
            Schemes = new Dictionary<ProductType, ShopScheme>();

            foreach (var val in Enum.GetValues(typeof(ProductType)))
            {
                var prodType = (ProductType) val;
                Schemes.Add(prodType, new ShopScheme
                                          {
                                              ProductType = prodType, 
                                              MaxDailySales = 30000, 
                                              WorkersPerLevel = 1000
                                          });
            }
        }
    }
}
